package com.yuchao.springboot.controller;

import com.yuchao.springboot.service.RetryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: xingyuchao
 * @date: 2019-11-26
 */
@RestController
@RequestMapping("index")
public class IndexController {

    @Autowired private RetryService retryService;


    @GetMapping("/testRetry")
    public String testRetry(){
        return retryService.retry();
    }
}
